package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.IndexGroupMapper;
import com.rongke.model.IndexGroup;
import com.rongke.service.IndexGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @IndexGroupServiceImpl
 * @主页分组标签ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class IndexGroupServiceImpl extends ServiceImpl<IndexGroupMapper, IndexGroup> implements IndexGroupService {

    @Autowired
    private IndexGroupMapper indexGroupMapper;

    /**
     * @根据条件查找主页分组标签
     * @param indexGroup
     * @return
     */
    @Override
    public List<IndexGroup> selectByCondition(IndexGroup indexGroup) {
        return indexGroupMapper.selectByCondition(indexGroup);
    }
}
